Determines whether an enumeration contains a specified element.
function Contains(Value: T): boolean;
Use the method to determine whether an enumeration contains a specified element. The method returns True if the element exists in the enumeration, False otherwise.